package gwt.bbsbot.client;

import gwt.bbsbot.client.beans.AnswerDataBean;
import gwt.bbsbot.client.beans.QuestionDataBean;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface DetailServiceAsync {
	void getQuestion(Long id, AsyncCallback<QuestionDataBean> callback);
	void getAnswers(Long questionId, AsyncCallback<List<AnswerDataBean>> callback);

}
